﻿#pragma once
#include <stdint.h>
#include <string>

enum class Exchange {
	SZ=0,
	SH=1
};

class Contract {
public:
	uint32_t id;
	Exchange exchange;//交易所
	std::string symbol;
	std::string name;
	//std::string type;
	uint16_t unit;//每手最低股票数目
	uint8_t precision;//保留的小数位数

	//CellData* getData(QString key);
};